#ifndef VOLTTESTRESULT_H
#define VOLTTESTRESULT_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include "ettadatastruct.h"
#include "blldataflow.h"

namespace Ui {
class VoltTestResult;
}

class VoltTestResult : public QWidget
{
    Q_OBJECT

public:
    explicit VoltTestResult(QWidget *parent = nullptr);
    ~VoltTestResult();
    void show(const VoltTest &vt);

private slots:
    void on_btnOK_clicked();
    void on_btnClose_clicked();
    void on_btnExportVoltRes_clicked();

    void updateVoltTestResultSlot(const VoltTest &vt);
    void retranslateUiSlot();
    void show() {}

private:
    void initWidget();

protected:
    void paintEvent(QPaintEvent *);

private:
    Ui::VoltTestResult *ui;
    BllDataFlow * bdf;
};

#endif // VOLTTESTRESULT_H
